#!/bin/bash
step=3
#for ((i=1; i<60; (i=i+step) ))
for ((i=1; 0<1;(i=i+step) ))
do

    rm -rf /home/xiaohua/data/capture_form_pi/data_of_pic/pi_pic/grass.jpg
    wget -P /home/xiaohua/data/capture_form_pi/data_of_pic/pi_pic/ -N http://10.120.82.32/data/grass.jpg
    echo "the $i picture has been get ! "
    sleep $step
done
exit 0
